package edu.whu.entity;

import lombok.Data;

import javax.persistence.Convert;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.List;
@Data
@Entity(name = "t_role")
public class Role {

    @Id
    String name;

    String remark;

    @Convert(converter = StringListConverter.class)
    List<String> authorities;

}
